a=load('newd1.txt');
v1=max(a(:,2));
v2=min(a(:,2));
v3=max(a(:,3));
v4=min(a(:,3));
b=(a(:,2)-v2)./(v1-v2);
c=(a(:,3)-v4)./(v3-v4);

v5=max(a(:,1));
v6=min(a(:,1));
d=(a(:,1)-v6)./(v5-v6);
a1=corrcoef(a(:,1),a(:,2))
a2=corrcoef(a(:,1),a(:,3))
a3=corrcoef(a(1:6,1),a(1:6,2))
a4=corrcoef(a(1:6,1),a(1:6,3))
a5=corrcoef(a(7:12,1),a(7:12,2))
a6=corrcoef(a(7:12,1),a(7:12,3))
a7=corrcoef(a(13:18,1),a(13:18,2))
a8=corrcoef(a(13:18,1),a(13:18,3))
a9=corrcoef(a(19:24,1),a(19:24,2))
a10=corrcoef(a(19:24,1),a(19:24,3))
a11=corrcoef(a(25:30,1),a(25:30,2))
a12=corrcoef(a(25:30,1),a(25:30,3))

a13=corrcoef(a(1:6,2),a(1:6,3))
a14=corrcoef(a(7:12,2),a(7:12,3))
a15=corrcoef(a(13:18,2),a(13:18,3))
a16=corrcoef(a(19:24,2),a(19:24,3))
a17=corrcoef(a(25:30,2),a(25:30,3))
